package ch.jamme.exception;

import java.lang.reflect.*;

/**
 * This exception is thrown when it is not possible to introspect the value of a field for a given object during the unmarshall process
 * @author Mario Fusco
 */
public class FieldIntrospectionException extends JammeException {

	private static final long serialVersionUID = 1L;
	
	public FieldIntrospectionException(Field field, Throwable cause) {
		super("Error introspecting field " + field + " caused by " + cause.getLocalizedMessage(), cause);
	}
}
